error-iter 0.2.0

Error::chain on stable Rust
Documentation

error-iter

Documentation Build Status unsafe forbidden

Use Error::chain on stable Rust.

MSRV

Supports Rust 1.37.0 and higher.

Compiles on Rust 1.31.0, but does not return the tail source. (Tests fail on anything less than 1.37.0.)

What is this?

Error::chain is incredibly useful for providing error context in Rust applications. For motivation, see RFC 2504. This iterator is available in nightly compilers with #58520 tracking stabilization.

This crate does not attempt to be 100% compatible with the stabilization effort, but does want to provide very similar functionality to stable Rust.

Show me

cargo run --example simple

Why not a derive macro?

PRs welcome! :)